Expand description

This crate provides an encoder/decoder for Reed-Solomon erasure code.

Please note that erasure coding means errors are not directly detected or corrected, but missing data pieces(shards) can be reconstructed given that the configuration provides high enough redundancy.

You will have to implement error detection separately(e.g. via checksums) and simply leave out the corrupted shards when attempting to reconstruct the missing data.

Macros

Makes it easier to work with 2D slices, arrays, etc.
Constructs a shard.
Constructs vector of shards.

Structs

Parameters for parallelism.
Reed-Solomon erasure code encoder/decoder.
Bookkeeper for shard by shard encoding.

Enums

Functions

Makes shard with byte array filled with zeros of some length.
Makes shard with byte array of zero length.
Transforms vector of option shards into vector of shards.
Transforms slice of option shards to vector of shards.
Transforms vector of shards into vector of option shards.
Transforms slice of shards to vector of option shards.

Type Definitions

Convenience data type provided by this library.